class Wife:

    def __init__(self, name, age):
        self.__age = None
        self.__name = name
        self.set_age(age)

    def get_age(self):
        return self.__age

    def set_age(self, age):
        self.__age = age


wife01 = Wife('貂蝉', 21)
print(wife01.__dict__)
print(wife01.get_age())
